package org.jeecg.modules.sistersophie.service.impl;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.sistersophie.entity.TeacherInfo;
import org.jeecg.modules.sistersophie.mapper.TeacherInfoMapper;
import org.jeecg.modules.sistersophie.service.ITeacherInfoService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: teacher_info
 * @Author: jeecg-boot
 * @Date:   2021-05-30
 * @Version: V1.0
 */
@Service
public class TeacherInfoServiceImpl extends ServiceImpl<TeacherInfoMapper, TeacherInfo> implements ITeacherInfoService {

    public List<TeacherInfo> selectByNameNotIn(String firstName,String lastName, Integer notId){
      return this.baseMapper.selectByNameNotIn(firstName,lastName,notId);
    }

    @Override
    public List<TeacherInfo> selectByEmailNotIn(String email, Integer notId) {
        return this.baseMapper.selectByEmailNotIn(email,notId);
    }

    @Override
    public List<TeacherInfo> selectByPhoneNotIn(String phone, Integer notId) {
        return this.baseMapper.selectByPhoneNotIn(phone,notId);
    }
}
